package com.xinqing.test.modle;

/**
 * Created by Admin on 2019/11/22.
 */
public enum ExecuteStatus {
    ZXSB("ZXSB", -1), DRSB("数据源执行失败", -2), DRCS("数据源同步超时", -3), DDCS("报表依赖等待超时", -4);

    private String desc;
    private int status;

    ExecuteStatus(String desc, int stats) {
        this.desc = desc;
        this.status = stats;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ExecuteStatus{" +
                "desc='" + desc + '\'' +
                ", status=" + status +
                '}';
    }
}
